PWD=$(pwd)
PARAM_JSON='params.json'
GD_LEARN_RATE=$(jq -r '.TRAIN.GD_LEARN_RATE' $PARAM_JSON)
EPOCH_COUNT=$(jq -r '.TRAIN.EPOCH_COUNT' $PARAM_JSON)
BATCH_SIZE=$(jq -r '.TRAIN.BATCH_SIZE' $PARAM_JSON)
SAMPLE_SIZE=$(jq -r '.TRAIN.SAMPLE_SIZE' $PARAM_JSON)
KEY=$(jq -r '.MISC.KEY' $PARAM_JSON)
DNS=$(jq -r '.MISC.DNS' $PARAM_JSON)
USER=$(jq -r '.MISC.USER' $PARAM_JSON)
BEST=$(jq -r '.SESSIONS.BEST' $PARAM_JSON)
LONGEST=$(jq -r '.SESSIONS.LONGEST' $PARAM_JSON)
LSTM=$(jq -r '.SESSIONS.LSTM' $PARAM_JSON)
CUR_DIR=$(jq -r '.SESSIONS.CUR_DIR' $PARAM_JSON)
LATEST_LOCAL=$(ls -td $PWD/models_local/* | head -1)
LATEST_REMOTE=$(ls -td $PWD/models_remote/* | head -1)